home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / LNSEFCTS.ZIP / SPOTS.POV < prev    next >
Encoding:
Text File  |  1997-07-18  |  1.6 KB  |  55 lines

  1. // LENS EFFECTS: SPOTS COMPONENTS
  2. // ******************************
  3. // This scene illustrates the 8 different types of spots included
  4. // with the Lens Effects Include File.  These are numbered from
  5. // left to right, ie:
  6. //
  7. //     1  2  3  4  5  6  7  8
  8. //
  9. // Note that the spots have been scaled to 60% of normal size to
  10. // fit them all in one image.  Also, the intensity has been increased
  11. // to 3 times normal to make the spots more visible.
  12.  
  13. // CAMERA AND EFFECT OPTIONS
  14.    #declare camera_location = <0, 8, -13>
  15.    #declare camera_look_at = <0, 8, 0>
  16.    #declare effect_scale = .6
  17.    #declare effect_intensity = 3
  18.    #declare effect_rotate = -90
  19.    #declare spots_seed = 100
  20.    #declare spots_to_centre = false
  21.  
  22.    global_settings {max_trace_level 10}
  23.  
  24. // SPOTS TYPE 1
  25.    #declare spots_type = 1
  26.    #declare effect_location = -x * 7 #include "LNSEFCTS.INC"
  27.  
  28. // SPOTS TYPE 2
  29.    #declare spots_type = 2
  30.    #declare effect_location = -x * 5 #include "LNSEFCTS.INC"
  31.  
  32. // SPOTS TYPE 3
  33.    #declare spots_type = 3
  34.    #declare effect_location = -x * 3 #include "LNSEFCTS.INC"
  35.  
  36. // SPOTS TYPE 4
  37.    #declare spots_type = 4
  38.    #declare effect_location = -x #include "LNSEFCTS.INC"
  39.  
  40. // SPOTS TYPE 5
  41.    #declare spots_type = 5
  42.    #declare effect_location = x #include "LNSEFCTS.INC"
  43.  
  44. // SPOTS TYPE 6
  45.    #declare spots_type = 6
  46.    #declare effect_location = x * 3 #include "LNSEFCTS.INC"
  47.  
  48. // SPOTS TYPE 7
  49.    #declare spots_type = 7
  50.    #declare effect_location = x * 5 #include "LNSEFCTS.INC"
  51.  
  52. // SPOTS TYPE 8
  53.    #declare spots_type = 8
  54.    #declare effect_location = x * 7 #include "LNSEFCTS.INC"
  55.